package org.springblade.modules.huikecloud.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * UserDTO
 *
 * @author Chill
 */
@Data
@ColumnWidth(25)
@HeadRowHeight(20)
@ContentRowHeight(18)
public class HostExcel implements Serializable {
    private static final long serialVersionUID = 1L;

    @ColumnWidth(15)
    @ExcelProperty("主机IP")
    private String hostIp;

    @ColumnWidth(15)
    @ExcelProperty("TCP映射数量")
    private Integer tcpSize;

    @ColumnWidth(10)
    @ExcelProperty("TCP映射上限")
    private Integer tcpLimit;


    @ColumnWidth(10)
    @ExcelProperty("WEB映射数量")
    private Integer webSize;

    @ExcelProperty("WEB映射上限")
    @ApiModelProperty(value = "WEB映射上限")
    private Integer webLimit;

}
